﻿<%@ Page Language="C#" AutoEventWireup="true"  MasterPageFile="~/Views/Shared/Master.Master"  CodeBehind="Index.aspx.cs" Inherits="Web.Views.Order.Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="notice_list">
        <div id="rightcontent" align="center"> 
                <div style="width: 95%;" align="left">
                    <%
                        var pageTitle = new ZebraPageTitle()
                                            {
                                                Title = "订单查询",
                                                Content =
                                                    "在查询总表里显示预报总件数，到货总件数。总表栏增加一列到货状况，可以点击另外弹出一页显示入库明细，展开该单号所包含的预报货物和实际到货货物明细表格。"
                                            };
                        Html.RenderPageTitle(pageTitle);
                    %>
                    <%
                        
                        var qz = new ZebraQueryZone()
                        {
                            Title = "订单信息查询",
                            TitleBackGroundColor = TitleBackGroundColor.Blue,
                            InputControls = new List<ZebraInputControl>()
                            {
                                 new ZebraRadioButtonList(){ DataField="sgArea", ServiceMethod="ZebraCoreLib.Logistics.LogisticsCenter.GetLogisticsCenters"},
                                 new ZebraRadioButtonList(){ DataField="sgArea", InputType=ListInputType.OrderStatusSelector},
                                 new ZebraRadioButtonList(){ DataField="sgArea", InputType=ListInputType.TimeSelector},
                                 
                            },
                            ButtonControls = new List<ZebraButtonControl>(){ 
                                new ZebraSpliter(),
                                       new ZebraQueryButton(){ ButtonText="查询",Align=ButtonAlign.Rigth}
                                       
                                      }
                        };
                       Html.RenderQueryZone(qz);
                     %>
                     <% var list = new ZebraQueryZone()
                        {
                            Title = "订单信息列表",

                            DataList = new ZebraDataList()
                            {
                                 ServiceMethod = "ZebraCoreLib.Order.Order.List",
                                              UserControlFileName = "Order"
                            },
                            TitleBackGroundColor = TitleBackGroundColor.Blue,
                            Pager = new ZebraPager() { }
                        };
                        
                        Html.RenderQueryZone(list);
                        
                        %>


                </div>
        </div>
    </div>

</asp:Content>
